<script lang="ts" setup>
// import { useUserStore } from "@/store/modules/user"
import Admin from "./components/Admin.vue"
import Editor from "./components/Editor.vue"
// const userStore = useUserStore()
// const isAdmin = userStore.roles.includes("超级管理员")
const isAdmin = "admin"
</script>

<template>
  <component :is="isAdmin ? Admin : Editor" />
</template>
